package com.fqgj.xjd.user.client.response;

import java.io.Serializable;

/**
 * @program: cashmama-user
 * @description
 * @author: frank
 * @create: 2020-07-27 22:11
 **/
public class BindResult implements Serializable {
    private static final long serialVersionUID = 5611937559085920031L;

    private boolean successful;
    private String verifyCode;
    private String message;
    private boolean validAccount;
    private boolean needVerifyCode;
    private Long accountId;
    private Object obj;
    private boolean finished;

    public boolean isSuccessful() {
        return successful;
    }

    public BindResult setSuccessful(boolean successful) {
        this.successful = successful;
        return this;
    }

    public String getVerifyCode() {
        return verifyCode;
    }

    public BindResult setVerifyCode(String verifyCode) {
        this.verifyCode = verifyCode;
        return this;
    }

    public String getMessage() {
        return message;
    }

    public BindResult setMessage(String message) {
        this.message = message;
        return this;
    }

    public boolean isValidAccount() {
        return validAccount;
    }

    public BindResult setValidAccount(boolean validAccount) {
        this.validAccount = validAccount;
        return this;
    }

    public boolean isNeedVerifyCode() {
        return needVerifyCode;
    }

    public BindResult setNeedVerifyCode(boolean needVerifyCode) {
        this.needVerifyCode = needVerifyCode;
        return this;
    }

    public Long getAccountId() {
        return accountId;
    }

    public BindResult setAccountId(Long accountId) {
        this.accountId = accountId;
        return this;
    }

    public Object getObj() {
        return obj;
    }

    public BindResult setObj(Object obj) {
        this.obj = obj;
        return this;
    }

    public boolean isFinished() {
        return finished;
    }

    public BindResult setFinished(boolean finished) {
        this.finished = finished;
        return this;
    }
}
